home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Bus / A / AciusTN8-92.cpt / AciusTN8-92 / GraphicalButtonsƒ / ButtonPkg-US / ButtonPackage.Ext.rsrc / 4Dte_26007 < prev    next >
Text File  |  1992-10-10  |  752b  |  11 lines

  1. This procedure sets the PICT ID used for the display of the named button.
  2. The first parameter is the external area name.
  3. Second parameter is PICT resource ID of up button.
  4. Third parameter is PICT resource ID of down button
  5. If you use a negative value for one of those ID parameters, the current value will be kept.
  6. The last parameter is the PICT ID resource of disabled button. If you pass 0, the disabled button won't be displayed. If you pass -1, the button will be displayed with a white pattern over. If you pass a negative value under -1, the previous value will be kept.
  7.  
  8. Use example :
  9. bp_SET PICT(Area;16000;16001;-1)
  10.  
  11. Written by François Marchal, © ACI 1991. Source Code in MPW Pascal and complete explanations in ACI Technical Note 23, May 91